.class Lcom/waiqin365/lightapp/kehu/ih;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/waiqin365/compons/c/f;

.field final synthetic b:Lcom/waiqin365/lightapp/kehu/ig;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/ig;Lcom/waiqin365/compons/c/f;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iput-object p2, p0, Lcom/waiqin365/lightapp/kehu/ih;->a:Lcom/waiqin365/compons/c/f;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    const/4 v6, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->a:Lcom/waiqin365/compons/c/f;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    const-string/jumbo v1, "%s,%s"

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/Object;

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/ih;->a:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v3}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v3

    aput-object v3, v2, v6

    const/4 v3, 0x1

    iget-object v4, p0, Lcom/waiqin365/lightapp/kehu/ih;->a:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v4}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->c(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->s(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->A(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;)Ljava/util/HashMap;

    move-result-object v0

    const-string/jumbo v1, "queryPos"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->z(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->B(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;)Ljava/util/HashMap;

    move-result-object v0

    const-string/jumbo v1, "queryPos"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->z(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    sget-boolean v0, Lcom/fiberhome/gaea/client/c/b;->v:Z

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->C(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->a:Lcom/waiqin365/lightapp/kehu/b/cc;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/kehu/b/cc;->b:Z

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->showProgressDialog(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/bt;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/kehu/b/bt;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->z(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/kehu/b/bt;->b:Ljava/lang/String;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/a/a/i;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v3, v3, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-virtual {v2, v3}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/lightapp/kehu/a/a/i;-><init>(Ljava/lang/String;Lcom/waiqin365/lightapp/kehu/b/bt;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->D(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;)Landroid/os/Handler;

    move-result-object v2

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/kehu/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kehu/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/b;->start()V

    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->w(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;)Lcom/waiqin365/lightapp/kehu/c/l;

    move-result-object v1

    invoke-static {v0, v6, v6, v1}, Lcom/waiqin365/lightapp/kehu/c/b;->a(Landroid/content/Context;ZZLcom/waiqin365/lightapp/kehu/c/l;)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->t(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->isShowing()Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->t(Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ih;->b:Lcom/waiqin365/lightapp/kehu/ig;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/ig;->a:Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/OfflineCmSelectActivity;->dismissProgressDialog()V

    goto :goto_0
.end method
